<!DOCTYPE html>
<html>
<head>
    <title>交退款</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" placeholder="单位名称">
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" placeholder="员工姓名">
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" placeholder="责任部门">
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" placeholder="审核状态">
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" placeholder="费用方式">
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" placeholder="费用类型">
            </div>
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" placeholder="创建日期区间">
            </div>
            <a class="btn btn-primary" @click="query"></i>&nbsp;查询</a>
            #if($shiro.hasPermission("refund:save"))
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
            #end
            #if($shiro.hasPermission("refund:update"))
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
            #end
            #if($shiro.hasPermission("refund:delete"))
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
            #end
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">责任部门</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.dutyDepartment" placeholder="责任部门"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">责任人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.dutyPerson" placeholder="责任人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">姓名</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.name" placeholder="姓名"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">身份证号</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.idno" placeholder="身份证号"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">性别</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.sex" placeholder="性别"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">年龄</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.age" placeholder="年龄"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">单位编号</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.settlementId" placeholder="单位编号"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">单位名称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.settlementName" placeholder="单位名称"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">费用类型</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.costType" placeholder="费用类型"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">费用方式</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.costFunc" placeholder="费用方式"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">保险类型</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.insuranceType" placeholder="保险类型"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">年</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.year" placeholder="年"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">月</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.month" placeholder="月"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">单位金额</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.dwje" placeholder="单位金额"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">个人金额</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.grje" placeholder="个人金额"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">录入人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.operator" placeholder="录入人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">录入日期</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.operatorDate" placeholder="录入日期"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">审核状态</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.status" placeholder="审核状态"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">初审人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.firstTrialPerson" placeholder="初审人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">初审日期</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.firstTrialDate" placeholder="初审日期"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">复审人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.secTrialPerson" placeholder="复审人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">复审日期</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.secTrialDate" placeholder="复审日期"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">终身人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.lastTrialPerson" placeholder="终身人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">终审日期</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.lastTrialDate" placeholder="终审日期"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">收支日期</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.incomeDate" placeholder="收支日期"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">收支方式</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.incomeType" placeholder="收支方式"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">收支人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="refund.incomePerson" placeholder="收支人"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${rc.contextPath}/js/socialSecurity/refund.js?_${date.systemTime}"></script>
</body>
</html>